package com.youlu.campus.service.activity;

import com.youlu.campus.entity.ActivityPointConfig;
import com.youlu.campus.entity.VO.req.ActivityPointConfigQueryVO;
import org.springframework.data.domain.Page;

public interface ActivityPointConfigService {

    boolean create(ActivityPointConfig req);

    boolean update(ActivityPointConfig req);

    boolean delete(String id);

    ActivityPointConfig findByActivityId(String activityId);

    Page<ActivityPointConfig> list(ActivityPointConfigQueryVO req);

    ActivityPointConfig findOne(String id);

    Integer getPoint(String activityId, String bizType);
}
